package com.easyJavaDemo.entity.query;

import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;
/**
 * 商品表
 */
public class GoodsQuery extends BaseQuery{
	/**
	 * 主键id
	 */
	private Integer id;

	/**
	 * 商品名称
	 */
	private String name;

	/**
	 * 商品价格
	 */
	private Integer price;

	/**
	 * 商品描述
	 */
	private String description;

	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTime;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime updateTime;

	private String nameFuzzy;

	private String descriptionFuzzy;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTimeStart;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTimeEnd;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime updateTimeStart;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime updateTimeEnd;

	public void setId(Integer id){
		this.id = id;
	}

	public Integer getId(){
		return this.id;
	}

	public void setName(String name){
		this.name = name;
	}

	public String getName(){
		return this.name;
	}

	public void setPrice(Integer price){
		this.price = price;
	}

	public Integer getPrice(){
		return this.price;
	}

	public void setDescription(String description){
		this.description = description;
	}

	public String getDescription(){
		return this.description;
	}

	public void setCreateTime(LocalDateTime createTime){
		this.createTime = createTime;
	}

	public LocalDateTime getCreateTime(){
		return this.createTime;
	}

	public void setUpdateTime(LocalDateTime updateTime){
		this.updateTime = updateTime;
	}

	public LocalDateTime getUpdateTime(){
		return this.updateTime;
	}

	public void setNameFuzzy(String nameFuzzy){
		this.nameFuzzy = nameFuzzy;
	}

	public String getNameFuzzy(){
		return this.nameFuzzy;
	}

	public void setDescriptionFuzzy(String descriptionFuzzy){
		this.descriptionFuzzy = descriptionFuzzy;
	}

	public String getDescriptionFuzzy(){
		return this.descriptionFuzzy;
	}

	public void setCreateTimeStart(LocalDateTime createTimeStart){
		this.createTimeStart = createTimeStart;
	}

	public LocalDateTime getCreateTimeStart(){
		return this.createTimeStart;
	}

	public void setCreateTimeEnd(LocalDateTime createTimeEnd){
		this.createTimeEnd = createTimeEnd;
	}

	public LocalDateTime getCreateTimeEnd(){
		return this.createTimeEnd;
	}

	public void setUpdateTimeStart(LocalDateTime updateTimeStart){
		this.updateTimeStart = updateTimeStart;
	}

	public LocalDateTime getUpdateTimeStart(){
		return this.updateTimeStart;
	}

	public void setUpdateTimeEnd(LocalDateTime updateTimeEnd){
		this.updateTimeEnd = updateTimeEnd;
	}

	public LocalDateTime getUpdateTimeEnd(){
		return this.updateTimeEnd;
	}

}
